package com.example.aotdemo;

import org.springframework.beans.factory.FactoryBean;

public class UserFactoryBean implements FactoryBean {
    public Object getObject() throws Exception {
        return new Employee();
    }
    @Override
    public Class<?> getObjectType() {
        return Employee.class;
    }
}
